Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

324
Vistas
SQLSTATE[HY000] [2002] No such file or directory laradock?

I work in ubuntu. I install laradock, after laravel and all work fine. But, i study the lesson with migration, and when i try to apply command php artisan migrate, i get an error from the question.

My dbconfig

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=tlaravel
DB_USERNAME=root
DB_PASSWORD=root

The command to start laradock for me is docker-compose up -d nginx php-fpm mysql phpmyadmin workspace

And i can go to phpmyadmin to address localhost:8084, and the data for phpmyadmin is

server: mysql
login: root
pass: root. 

But i don't know what login and password to write in .env file for mysql, i wrote the data for phpmyadmin.

In .env from laradock, the version of mysql is latest. I use laravel 5.2, because is my first course with this version.

I hope you will help me. Thansk.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda